#include "mainwindow.h"
 
#include <KApplication>
#include <KAction>
#include <KLocale>
#include <KActionCollection>
#include <KStandardAction>
#include <KStandardGameAction>

#include <kdebug.h>
 
MainWindow::MainWindow(QWidget *parent)
    : KXmlGuiWindow(parent)
{
        
	kDebug() << "Entering in Game Creation";
	klcGame = new KLCGame();
	//klcCanvas = new KGameCanvasWidget;
	
	//setCentralWidget(klcCanvas);
	
	
    setupActions();
}
 
void MainWindow::setupActions()
{

// Game
  KStandardGameAction::gameNew(this, 
                       SLOT(newGame()), 
                       actionCollection());
/*  KStandardGameAction::highscores(this, 
                       SLOT(showHighscores()), 
                       actionCollection());*/
  KStandardGameAction::quit(kapp, SLOT(quit()),
                       actionCollection());

  setupGUI();
}
 
//New from here on
 
void MainWindow::newGame()
{
	;
}
